package net.rock.pojo;

import lombok.Data;

@Data
public class User implements Cloneable {
    private int id;
    private String username;
    private String password;
    private String email;
    private int permission;

    @Override
    public User clone() {
        User clone;
        try {
            clone = (User) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new AssertionError();
        }
        return clone;
    }
}
